var A = (function () {
    function Bean() {
    }

    Bean.init = function () {
        var thisA;
        var thisB;

        return {
            getA: function (a) {
                thisA = a;
                return this;
            }
        };
    }();
    return Bean;
}());
console.log(A !== undefined);
A.init.getA("aaa");

console.log(A);


